package com.cskaoyan.mall.model.po;

/**
 * @ClassName: Order
 * @Description: TODO
 * @Auther 庄左
 * @Date 2022/7/1 16:45
 * @Version
 **/
public class Order {
    private String img;
    private Integer id;

    private String amount;

    private Integer goodsDetailId;

    private Integer stateId;

    private String goods;

    private String state;

    private Integer userId;

    private String goodsNum;

    private String spec;

    private String address;

    private String phone;

    private String nickname;

    private String name;

    private Integer specId;

    private String receiver;

    private String moneyLimit1;

    private String moneyLimit2;

    private String createTime;

    private boolean hasComment;
    private Integer goodsId;


    public Order(Integer id,
                 Integer userId,
                 String nickname,
                 String receiver,
                 String address,
                 String phone,
                 String goods,
                 Integer goodsId,
                 String spec,
                 Integer specId,
                 String goodsNum,
                 String amount,
                 Integer stateId,
                 String createTime,
                 boolean hasComment,
                 String state,
                 String name,
                 String img

    ) {
        this.img=img;
        this.id = id;
        this.amount = amount;
        this.goodsId = goodsId;
        this.stateId = stateId;
        this.goods = goods;
        this.state = state;
        this.userId = userId;
        this.goodsNum = goodsNum;
        this.spec = spec;
        this.address = address;
        this.phone = phone;
        this.nickname = nickname;
        this.name = name;
        this.specId = specId;
        this.receiver = receiver;
        this.createTime = createTime;
        this.hasComment = hasComment;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }



    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public boolean getHasComment() {
        return hasComment;
    }

    public void setHasComment(boolean hasComment) {
        this.hasComment = hasComment;
    }

    public Order() {
    }

    public Order(Integer id, Integer stateId, String state, String goodsNum, String spec, Integer specId) {
        this.id = id;
        this.stateId = stateId;
        this.state = state;
        this.goodsNum = goodsNum;
        this.spec = spec;
        this.specId = specId;
    }

    public Order(Integer userId) {
        this.userId = userId;
    }

    public Order(Integer id, String moneyLimit1,String moneyLimit2, String goods, String address, String name,Integer stateId) {
        this.id = id;
        this.moneyLimit1=moneyLimit1;
        this.moneyLimit2=moneyLimit2;
        this.stateId=stateId;
        this.goods = goods;
        this.address = address;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public Integer getGoodsDetailId() {
        return goodsDetailId;
    }

    public void setGoodsDetailId(Integer goodsDetailId) {
        this.goodsDetailId = goodsDetailId;
    }

    public Integer getStateId() {
        return stateId;
    }

    public void setStateId(Integer stateId) {
        this.stateId = stateId;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(String goodsNum) {
        this.goodsNum = goodsNum;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSpecId() {
        return specId;
    }

    public void setSpecId(Integer specId) {
        this.specId = specId;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getMoneyLimit1() {
        return moneyLimit1;
    }

    public void setMoneyLimit1(String moneyLimit1) {
        this.moneyLimit1 = moneyLimit1;
    }

    public String getMoneyLimit2() {
        return moneyLimit2;
    }

    public void setMoneyLimit2(String moneyLimit2) {
        this.moneyLimit2 = moneyLimit2;
    }
}
